package com.hand.yd24378.mybatis_train.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;

import javax.persistence.*;


/**
 * @author : WaveLee
 * @date : 2019/7/16 19:02
 * @description : 通用基础类
 */
public class BaseEntity {
    /**
     * 分页用字段
     */
    @Transient
    @JsonIgnore
    private Integer page = 1;

    @Transient
    @JsonIgnore
    private Integer rows = 10;

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getRows() {
        return rows;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }
}
